<template>
  <div id="payment">
    <div class="top">金额  <span>请填写支付金额</span></div>
    <div class="payInput">
        <input type="text" v-model="price">
        <span>元</span>
    </div>   
    <x-button type="primary" class="zhifu">立即支付</x-button>
  </div>
</template>
<script>
    import { XButton } from 'vux'
    export default {
        data(){
            return{
                price:''
            }
        },
         mounted:function(){
            var cHeight = document.body.clientHeight;
            document.getElementById('payment').style.height = cHeight+'px'
            console.log(cHeight)
            console.log(1)
            // document.getElementById('payBox').style.height = cHeight+'px';
        },
        components:{
            XButton
        }
    }
</script>
